package nc.impl.so.m30.self;

import nc.bs.dao.BaseDAO;
import nc.bs.dao.DAOException;
import nc.vo.so.m30.entity.SaleOrderBVO;

public class SaleEXEInsetImpl implements ISaleEXEInsert{

	private BaseDAO dao;
	
	public SaleEXEInsetImpl() {
		if(dao==null)
			dao = new BaseDAO();
	}
	
	@Override
	public void EXEInsert() {
		try {
			dao.executeUpdate("insert into so_saleorder_exe(csaleorderbid, ts, dr) select csaleorderbid, ts, dr from so_saleorder_b where vbdef9='exl_flag' and dr=0");
		} catch (DAOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
